
/**
 * Author: Barry Wei
 * Date:   2008-08-17
 */
Array.prototype.sortNumber = function(){
	for (var i = this.length-1; i >= 0 ; --i){
		for ( var j = i; j >= 1; --j){
			if (parseFloat(this[j]) < parseFloat(this[j-1])){
				var temp = this[j];
				this[j] = this[j-1];
				this[j-1] = temp;
			}
		}
	}
}